<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        function test1() {
            var u=document.getElementById("username")
            var p=document.getElementById("passward")
            if(u.value==="今夕"&&p.value==="abc666666"){
                  window.location.href = "yemian";
            }
            else{
                alert("用户名或者密码错误")
            }



         }
    </script>
  <style>
    body {
          background-image: url({{url_for('static', filename= 'yangyang.jpg') }});
          background-repeat: no-repeat;
          background-size: cover;
        }
       div {
            text-align: center;
            font-size: 80px;
            font-weight: bolder;
            color: white;
        }

    </style>

</head>

<body>
<div>python启动小组祝老师暑假快乐</div>
        用户名：<input type="text" id="username"><br>
        密码：<input type="password" id="passward"><br>
        <input type="submit" value="登录" onclick="test1()">
        <p style="color: rgb(149, 229, 20);">
             组员列表：张朝阳 陈佳俊 洪忠宪 陈才武 吴恂卓 张旭（没有先后顺序）
        </p>

</body>

</html>